<?php
global $ti;
$profile = new ui_form('user/profile/save');
$profile->add(new ui_fieldset('Profile'));
$table = new ui_table();
$table->nv_row($this->phrase('first_name'),   new ui_input_text('first_name'));
$table->nv_row($this->phrase('last_name'),    new ui_input_text('last_name'));
$table->nv_row($this->phrase('email_address'),new ui_input_text('email_address'));
$table->nv_row($this->phrase('phone_number'), new ui_input_text('phone_number'));
$profile->last->body->add($ti->process('user/security/list_groups'));
$profile->last->body->add($table,new ui_input_submit('save','save'));
$this->blocks['profile'] = $profile;
?>